//
//  ZYPopLayerRule.h
//  DesignMode
//
//  Created by wangzhipan on 2024/11/18.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZYPopLayerRule : NSObject
@property (nonatomic, copy, readonly) NSString *popLayerId;
@property (nonatomic, assign) BOOL isBasic;             //是否基础避让引导层
@property (nonatomic, assign) BOOL isToQueue;           //是否可以排队
@property (nonatomic, assign) NSUInteger duration;    //展示时长
@property (nonatomic, assign) NSUInteger showTimes;     //展示次数
@property (nonatomic, assign) BOOL isFourceShow;        //是否强制展示
@property (nonatomic, assign) BOOL enableResume;        //被打断后是否可以恢复展示

+ (BOOL)isExistRule:(NSString *)popLayerId;

- (instancetype)initWithPopLayerId:(NSString *)popLayerId;

- (BOOL)enableShow;
- (void)didShow;
@end

NS_ASSUME_NONNULL_END
